--- title: Migration metaTitle: Migration metaDescription: Migration Guide - How to migrate from an older version of Amplify UI to a newer version. supportedFrameworks: react|angular|vue --- import Link from 'next/link'; import { Fragment } from '@/components/Fragment'; import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; export async function getStaticPaths() { return getCustomStaticPath(frontmatter.supportedFrameworks); } {/* `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */} export async function getStaticProps() { return { props: {} } } {({ platform }) => import(`./migration.${platform}.mdx`)}